import { CommandWarehouse } from "./base"
import Insert from "../insert";

@Insert
export class CommandWarehouseGive extends CommandWarehouse {
    constructor() {
        super()
        this.name = "存入物品"
        this.tags.push("存仓库")
        this.detail = "仓库[存入物品,$物品$]"
        this.insert = "仓库[存入物品,${1:物品}]"
        this.docs = ""
    }
}

@Insert
export class CommandWarehouseGet extends CommandWarehouse {
    constructor() {
        super()
        this.name = "取出物品"
        this.detail = "仓库[取出物品,$物品$]"
        this.insert = "仓库[取出物品,${1:物品}]"
        this.docs = ""
    }
}

@Insert
export class CommandWarehouseGivePet extends CommandWarehouse {
    constructor() {
        super()
        this.name = "存入宠物"
        this.tags.push("宠物")
        this.detail = "仓库[存入宠物,$宠物$]"
        this.insert = "仓库[存入宠物,${1:宠物}]"
        this.docs = ""
    }
}

@Insert
export class CommandWarehouseGetPet extends CommandWarehouse {
    constructor() {
        super()
        this.name = "取出宠物"
        this.tags.push("宠物")
        this.detail = "仓库[取出宠物,$宠物$]"
        this.insert = "仓库[取出宠物,${1:宠物}]"
        this.docs = ""
    }
}

@Insert
export class CommandWarehousePetDetail extends CommandWarehouse {
    constructor() {
        super()
        this.name = "查看宠物属性"
        this.tags.push("宠物属性", "属性")
        this.detail = "仓库[查看宠物属性]"
        this.insert = "仓库[查看宠物属性]"
        this.docs = "如果要获取宠物详细信息的必须调用,比如是否派遣,在打开仓库后调用,只需要调用一次即可"
    }
}